//
//  ICatalogs.h
//  XRmenu
//
//  Created by yangxh on 11-3-26.
//  Copyright 2011 E0571. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface ICatalogs : NSObject {
	NSString *catalogsId;
	NSDate *checkInTime;
	NSString *comment;
	NSInteger depth;
	NSInteger dishCount;
	NSString *globalPath;
	NSInteger Id;
	NSString *name;
	NSInteger orderNo;
	NSString *parentId;
	NSInteger status;
	NSInteger type; //同 dish Type
}

@property (nonatomic, retain) NSString *catalogsId;
@property (nonatomic, retain) NSDate *checkInTime;
@property (nonatomic, retain) NSString *comment;
@property (nonatomic, assign) NSInteger depth;
@property (nonatomic, assign) NSInteger dishCount;
@property (nonatomic, retain) NSString *globalPath;
@property (nonatomic, assign) NSInteger Id;
@property (nonatomic, retain) NSString *name;
@property (nonatomic, assign) NSInteger orderNo;
@property (nonatomic, retain) NSString *parentId;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, assign) NSInteger type;
- (id)init;
- (id)initWithCatalogsId:(NSString*)aCatalogsId checkInTime:(NSDate*)aCheckInTime comment:(NSString*)aComment depth:(NSInteger)aDepth dishCount:(NSInteger)aDishCount globalPath:(NSString*)aGlobalPath Id:(NSInteger)anId name:(NSString*)aName orderNo:(NSInteger)anOrderNo parentId:(NSString*)aParentId status:(NSInteger)aStatus type:(NSInteger)aType;
+ (id)objectWithCatalogsId:(NSString*)aCatalogsId checkInTime:(NSDate*)aCheckInTime comment:(NSString*)aComment depth:(NSInteger)aDepth dishCount:(NSInteger)aDishCount globalPath:(NSString*)aGlobalPath Id:(NSInteger)anId name:(NSString*)aName orderNo:(NSInteger)anOrderNo parentId:(NSString*)aParentId status:(NSInteger)aStatus type:(NSInteger)aType;
- (NSArray *)keyPaths;


+ (ICatalogs *)iCatalogsByParse:(NSDictionary *)info;

@end
